import 'dart:io';
import 'dart:convert';
import 'dart:typed_data';

import './config.dart';
import 'package:path/path.dart' as path;
import 'package:http/http.dart' as http;


getData() async {
  var url = config['url'] + '/user';
  var res = await http.get(url);
  if(res.statusCode == 200){
    return json.decode(res.body);
  }
}